# Description: Mozilla Çalışma Zamanı Ortamı
# URL: http://wiki.mozilla.org/XUL:Xul_Runner
# Packager: milisarge
# Depends on:

name=xulrunner
version=41.0.2
release=1
source=(http://ftp.mozilla.org/pub/xulrunner/releases/$version/source/$name-$version.source.tar.xz)

build() {
  mkdir ${PKG}/opt/

  mkdir ${PKG}/usr/

  mkdir ${PKG}/usr/bin/

  cp -R "${SRC}/${name}" "${PKG}/opt/${name}"

  ln -s "/opt/${name}/${name}" "${PKG}/usr/bin/${name}"
}
